package com.sxfq.loansupermarket.backsystem.modular.theTest.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.sxfq.loansupermarket.backsystem.modular.theTest.entity.TestQuestionsInfo;
import com.sxfq.loansupermarket.backsystem.modular.theTest.entity.TheTestInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TheTestInfoDao  extends BaseMapper<TheTestInfo> {
    List<TheTestInfo> getQueryPage(@Param("page") Page<TheTestInfo> page, Map<String, Object> params);
    int selectSameTestNameCountForUpdate(@Param("id") String id,@Param("theTestName") String theTestName);
    int selectSameTestNameCount(@Param("theTestName") String theTestName);
}
